﻿using System;
using System.Collections.Generic;
using System.Text;
using OVS.CoreDomain.Business;
using OVS.Data;
using OVS.CoreDomain;
using OVS.CoreDomain.Data;

namespace OVS.Business
{
    public class BusinessWard : IBusinessWard
    {
        public IDalWard  _dalWard;

        #region IBusinessWard Members

        public BusinessWard(IDalWard dalWard)
        {
            _dalWard = dalWard;
        }

        public BusinessWard()
        {
            _dalWard = new DalWard();
        }
        public IList<IWard> GetWards(string panchayatId)
        {
            return _dalWard.GetWards(panchayatId);
        }

        #endregion
    }
}
